var express = require('express');
var router = express.Router();
const API = require("../db/registerApi")
/**
 * 登录
 * /register/login
*/
router.post('/login', API.login);
/**
 * 注册新账号
 * /register
*/
router.post('/', API.register);

module.exports = router;
